﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IndexService
{
    public static class Const
    {
        #region 数据库
        /// <summary>
        /// 实时库
        /// </summary>
        public const string REAL_TIME_DB = "1";

        /// <summary>
        /// 归档库
        /// </summary>
        public const string FILE_TIME_DB = "2";
        #endregion

        #region 连接字符串
        /// <summary>
        /// 连接字符串-实时库
        /// </summary>
        public const string REAL_TIME_DBCONNECTION = "DBRealTimeConnectionString";

        /// <summary>
        /// 连接字符串-归档库
        /// </summary>
        public const string FILE_TIME_DBCONNECTION = "DBFileConnectionString";
        #endregion

    }

    #region Services类别
    /// <summary>
    /// Services类别
    /// </summary>
    public enum EnumServices
    {
        /// <summary>
        /// 实时库正常更新
        /// </summary>
        REAL_TIME,
        /// <summary>
        /// 实时库重构
        /// </summary>
        REAL_TIME_REBUILT,
        /// <summary>
        /// 归档库正常更新
        /// </summary>
        FILE_TIME,
        /// <summary>
        /// 归档库重构
        /// </summary>
        FILE_TIME_REBUILT
    };
    #endregion
}
